package com.ponhu.ea2.stockcenter.dto;

import com.ponhu.ea2.common.basic.model.BaseCriteria;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ApiModel(value = "货品实时库存查询结果-数据传输模型 ")
public class StockQueryListDTO extends BaseCriteria {

    @ApiModelProperty(value = "货品编码")
    private String inventoryCode;

    @ApiModelProperty(value = "是否二奢：1是，2否")
    private Integer isSecondhand;

    @ApiModelProperty(value = "货品名称")
    private String inventoryName;

    @ApiModelProperty(value = "仓库编码")
    private String whCode;

    @ApiModelProperty(value = "可售库存类型：1普通，2虚拟")
    private Integer salesModel;

    @Override
    public String toString() {
        return "StockQueryListDTO{" +
                "inventoryCode='" + inventoryCode + '\'' +
                ", isSecondhand=" + isSecondhand +
                ", inventoryName='" + inventoryName + '\'' +
                ", whCode='" + whCode + '\'' +
                ", salesModel=" + salesModel +
                '}';
    }

}
